import Vue from "vue"
import Vuex from 'vuex'
import axios from "axios"
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
        Update: {
            name: '',
            address: '',
            date: '',
            select: '',
            id: 0
        },
        user: {
            HeadPicture: '',
            name: '',
            address: '',
            id: '',
            sex: '',
            career: '',
            mobliephone: '',
            password: ''
        },
        // user: {
        //     HeadPicture: 'C:/Users/86131/Desktop/bg.png'
        // },
        realGood: {
            tableData: [],
        },
        realGoods: {
            type: -1,
            tableData: [], array: []
        },
        Goods: {
            array: [],
            tableData: []
        },
    },
    mutations: {

    }
})
export default store;
